<div ng-controller="statisticsCtrl">
    <div style="position: absolute;z-index: 99;left: 130px;top: 7px;">
        <button type="button" ng-class="{false:'btn btn-default btn-mm',true:'btn btn-success btn-mm'}[tpo==1]" ng-click="myTabs(1);Search()">使用情况</button>
        <button style="margin-left: 15px;" type="button" ng-class="{false:'btn btn-default btn-mm',true:'btn btn-success btn-mm'}[tpo==2]" ng-click="myTabs(2);sheb_num()">设备数量</button>
    </div>
    <div class="row" style="line-height: 35px; margin-top: 10px;">
        <div class="col-lg-2 col-sm-3">
            <h4 class="col-sm-11" style="line-height: 35px;">设备日期：</h4>
        </div>
        <div class="col-lg-2 col-sm-4">
            <input type="date" style="width: 100%;" id="dat1" class="form-control border-r5 width-100">
        </div>
        <div class="col-lg-2 col-sm-4">
            <input type="date" style="width: 100%;" id="dat2" class="form-control border-r5 width-100">
        </div>
        <div class="col-lg-6 col-sm-6 text-left">
            <button type="submit " class="btn btn-primary" ng-click="Search()">搜索</button>
        </div>
    </div>
    <div class="row" ng-show="tpo==2">
        <h2 class="text-center">
            <span>设备数量</span>
        </h2>
        <div id="pie3" style="width: 100%;height:500px;"></div>
    </div>

    <div class="row" ng-show="tpo==1">
        <div class="col-lg-5 col-sm-12" style="height:600px">
            <h2 class="text-center">
                <span>金鼻光使用情况</span>
            </h2>
            <h3 class="text-center" ng-show="!is_jbg&&!jbg_1">暂无数据</h3>
            <h3 class="text-center" ng-show="!is_jbg&&jbg_1">{{hyb_1_data.name}}:{{hyb_1_data.val}}</h3>
            <div id="pie1" style="width: 100%;height:500px;"></div>
        </div>
        <div class="col-lg-5 col-sm-12  col-lg-offset-1" style="height:600px">
            <h2 class="text-center">
                <span>换颜宝使用情况</span>
            </h2>
            <h3 class="text-center" ng-show="!is_hyb&&!hyb_1">暂无数据</h3>
            <h3 class="text-center" ng-show="!is_hyb&&hyb_1">{{hyb_1_data.name}}:{{hyb_1_data.val}}</h3>
            <div id="pie2" style="width: 100%;height:500px;"></div>
        </div>

    </div>

</div>